package com.ssm.server.user.dao;

import com.ssm.server.user.model.UnreadNews;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


/**
 * @author zhangyibo
 */
@Repository
public interface UnreadNewsDao {
    public  int countUnreadNews(int userId);

    public  void saveUnreadNews(UnreadNews unreadNews);

    public  UnreadNews selectUnreadNews(@Param("userId")int userId,@Param("newsId")int newsId );

    
}
